﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common
{
    public class NormalizationRule
    {
        /// <summary>
        /// Quantity of elements to apply this rule.
        /// </summary>
        public int Quantity { get; set; }

        /// <summary>
        /// Minimum for elements to be applied by this rule.
        /// </summary>
        public double Minimum { get; set; }

        /// <summary>
        /// Maximum for elements to be applied by this rule.
        /// </summary>
        public double Maximum { get; set; }

        /// <summary>
        /// Creates the normalization rule.
        /// </summary>
        /// <param name="quantity">Quantity of elements to apply this rule.</param>
        /// <param name="minimum">Minimum of these elements.</param>
        /// <param name="maximum">Maximum of these elements.</param>
        public NormalizationRule(int quantity, double minimum, double maximum)
        {
            Quantity = quantity;
            Minimum = minimum;
            Maximum = maximum;
        }
    }
}
